package com.dragon.modules.yuegou.entity.act;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * 礼包表实体类<br>
 * 对应的表为：act_gift_bag<br>
 * 
 * @author pbuilder generated
 * @date 2020-08-05 15:47:18
 * @company sgy
 * @version 2.0
 */
@TableName("act_gift_bag")
@ApiModel(description = "礼包表")
public class GiftBagEntity {

    /**  */
	protected String id;

    /**  */
	protected String busdId;

    /** 礼包名称 */
	@ApiModelProperty("礼包名称")
	protected String bagName;

    /** 备注 */
	@ApiModelProperty("备注")
	protected String remark;

    /** 排序 */
	@ApiModelProperty("排序")
	protected Integer sort;

    /**  */
	protected String spuId;

    /**  */
	protected String skuId;

    /**  */
	protected LocalDateTime createdTime;

    /**  */
	protected String createdBy;

	/**
	 * 构造一个空礼包表实体对象
	 */
	public GiftBagEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个礼包表实体对象
	 * 
	 * @param other 其它对象
	 */
	public GiftBagEntity(GiftBagEntity other){
		super();
     	this.id = other.id;
     	this.busdId = other.busdId;
     	this.bagName = other.bagName;
     	this.remark = other.remark;
     	this.sort = other.sort;
     	this.spuId = other.spuId;
     	this.skuId = other.skuId;
     	this.createdTime = other.createdTime;
     	this.createdBy = other.createdBy;
	}


	/**
	 * 获取
	 * 
	 * @return id 
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置
	 * 
	 * @param id 
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取
	 * 
	 * @return busdId 
	 */
	public String getBusdId() {
		return busdId;
	}
  	
	/**
	 * 设置
	 * 
	 * @param busdId 
	 */
	public void setBusdId(String busdId) {
		this.busdId = busdId;
	}

	/**
	 * 获取礼包名称
	 * 
	 * @return bagName 礼包名称
	 */
	public String getBagName() {
		return bagName;
	}
  	
	/**
	 * 设置礼包名称
	 * 
	 * @param bagName 礼包名称
	 */
	public void setBagName(String bagName) {
		this.bagName = bagName;
	}

	/**
	 * 获取备注
	 * 
	 * @return remark 备注
	 */
	public String getRemark() {
		return remark;
	}
  	
	/**
	 * 设置备注
	 * 
	 * @param remark 备注
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * 获取排序
	 * 
	 * @return sort 排序
	 */
	public Integer getSort() {
		return sort;
	}
  	
	/**
	 * 设置排序
	 * 
	 * @param sort 排序
	 */
	public void setSort(Integer sort) {
		this.sort = sort;
	}

	/**
	 * 获取
	 * 
	 * @return spuId 
	 */
	public String getSpuId() {
		return spuId;
	}
  	
	/**
	 * 设置
	 * 
	 * @param spuId 
	 */
	public void setSpuId(String spuId) {
		this.spuId = spuId;
	}

	/**
	 * 获取
	 * 
	 * @return skuId 
	 */
	public String getSkuId() {
		return skuId;
	}
  	
	/**
	 * 设置
	 * 
	 * @param skuId 
	 */
	public void setSkuId(String skuId) {
		this.skuId = skuId;
	}

	/**
	 * 获取
	 * 
	 * @return createdTime 
	 */
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param createdTime 
	 */
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

	/**
	 * 获取
	 * 
	 * @return createdBy 
	 */
	public String getCreatedBy() {
		return createdBy;
	}
  	
	/**
	 * 设置
	 * 
	 * @param createdBy 
	 */
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

    public String toString() {
		return new StringBuilder().append("GiftBagEntity{").
			append("id=").append(id).
			append(",busdId=").append(busdId).
			append(",bagName=").append(bagName).
			append(",remark=").append(remark).
			append(",sort=").append(sort).
			append(",spuId=").append(spuId).
			append(",skuId=").append(skuId).
			append(",createdTime=").append(createdTime).
			append(",createdBy=").append(createdBy).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public GiftBagEntity copy() {
		return new GiftBagEntity(this);
	}

    /**  */
	public static final String COL_ID = "id";

    /**  */
	public static final String COL_BUSD_ID = "busd_id";

    /** 礼包名称 */
	public static final String COL_BAG_NAME = "bag_name";

    /** 备注 */
	public static final String COL_REMARK = "remark";

    /** 排序 */
	public static final String COL_SORT = "sort";

    /**  */
	public static final String COL_SPU_ID = "spu_id";

    /**  */
	public static final String COL_SKU_ID = "sku_id";

    /**  */
	public static final String COL_CREATED_TIME = "created_time";

    /**  */
	public static final String COL_CREATED_BY = "created_by";
}
